package com.meta.platform.contract.core.mapper;

import com.meta.platform.contract.intf.entity.ContractPlanFund;
import com.meta.platform.contract.intf.ro.ContractPlanFundRo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 合同计划回款
 *
 * @author M.simple
 * @email 1111111111111@qq.com
 * @date 2020-12-08 15:53:37
 */
@Repository
public interface ContractPlanFundMapper {

	/**
	 * insert contractPlanFund info
	 * @method insertContractPlanFund
	 * @param       contractPlanFund:
	 * @return void
	 * @author      M.simple
	 * @date        2020-12-08 15:53:37
	 */
	void insertContractPlanFund(ContractPlanFund contractPlanFund);

	/**
	 * batchInsert contractPlanFund info
	 * @method insertContractPlanFund
	 * @param       contractPlanFund:
	 * @return void
	 * @author      M.simple
	 * @date        2020-12-08 15:53:37
	 */
	void batchInsertContractPlanFund(List<ContractPlanFund> contractPlanFunds);

	/**
	 * update contractPlanFund info
	 * @method updateContractPlanFund
	 * @param       contractPlanFund:
	 * @return int
	 * @author      M.simple
	 * @date        2020-12-08 15:53:37
	 */
	int updateContractPlanFund(ContractPlanFund contractPlanFund);

	/**
	 * update contractPlanFund info by Pk
	 * @method updateContractPlanFundByPk
	 * @param       contractPlanFund:
	 * @return int
	 * @author      M.simple
	 * @date        2020-12-08 15:53:37
	 */
	int updateContractPlanFundByPk(ContractPlanFund contractPlanFund);

	/**
	 * list contractPlanFund info
	 * @method listContractPlanFund
	 * @param       contractPlanFund:
	 * @return List<ContractPlanFund>
	 * @author      M.simple
	 * @date        2020-12-08 15:53:37
	 */
	List<ContractPlanFund> listContractPlanFund(ContractPlanFundRo contractPlanFundRo);

}
